package com.only4play.practice.ordercommon.filters;


import com.only4play.practice.ordercommon.model.OrderContext;


public interface OrderFilter<T extends OrderContext> {

  /**
   * 过滤逻辑封装点，需要执行的逻辑
   *
   * @param context
   * @param chain
   */
  void doFilter(T context, OrderFilterChain chain);


}
